<div class="nav">
   <a class="sel" href="{:U('fav')}">商品收藏排行榜</a>
</div>
<div class="search">
     <form method="get" action="">
        选择时间段：<input type="text" id="btime" name="btime" value="{$btime}" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="date" /> - <input type="text" id="etime" name="etime" value="{$etime}" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="date" />&nbsp;
        <input type="submit" class="btn_search" name="submit" value="搜索" />
        <input type="submit" class="btn3" name="submit" value="导出报表"/>
        <input type="hidden" name="p" value="1" />
     </form>
</div>
<div class="list">
<form method="post" action="">
<table class="table_list">
  <thead><tr>
    <td width="50px">序号</td>
    <td>商品名称</td>
    <td width="90px">商品收藏数量</td>
  </tr>
  </thead>
  <tbody>
  <foreach name="list" item="list" key="k">
    <tr>
    <td>{$k+1}</td>  
    <td style="text-align: left"><a href="{:U('Home/Goods/index',array('id'=>$list['goods_id']))}" target="_blank">{$list.goods_name}</a></td>
    <td>{$list.num}</td>
  </tr>
  </foreach>
  </tbody>
 
</table></form>
</div>
